"Bolts Matches and Coins" Sherwood Forest is a room. "Here you stand in Sherwood Forest. [line break] You are carrying [list of things carried by the player] [line break] You are wearing [list of things worn by the player].". the player is carrying an open container called a crossbow. the description of the crossbow is "The latest model from Eddie Bauer. [line break] It is currently [if loaded] loaded [otherwise] unloaded [end if].". understand "bow" as crossbow. the crossbow is either loaded or unloaded. loading is an action applying to one thing. understand "load[something]" as loading. instead of loading the crossbow when the bolts is not in the player, say "You need to take a bolt first.". instead of loading the crossbow, try inserting the bolts into the crossbow. instead of firing the bolts, try firing the crossbow. instead of inserting the bolts into the crossbow: now the crossbow is loaded; now the bolts is in the crossbow; say "You load the crossbow.". firing is an action applying to one thing. understand "fire [something]" or "shoot[something]" as firing. instead of firing the crossbow when the crossbow is unloaded, say "the bow hasn't got a bolt in it.". instead of firing the crossbow when the crossbow is loaded: now the crossbow is unloaded; now the bolts is in the quiver; say "You fire the crossbow.". the player is wearing a bag. the bag is a closed,openable container. the printed name of the bag is "coin purse". the description of the bag is "Your standard adventurer's coin purse.". understand "coin purse" or "purse" as bag. in the bag is a thing called a quanity of gold coins. the description of the coins is "smallish gold coins.". the gold coins has a number called qty. the qty of the coins is 6000. counting is an action applying to one thing. understand "count [something]" as counting. instead of counting the coins when the bag is open: say "You see [qty of coins] gold coins inside bag." the player is wearing a quiver. the quiver is an open container. the description of the quiver is "An extremely well-made leather quiver which holds the bolts for the crossbow. Inside the quiver you count [amount of bolts] crossbow bolts." in the quiver is a thing called the bolts. the indefinite article of the bolts is "several". the description of the bolts is "deadly arrows made of steel.". the bolts has a number called amount. the amount of the bolts is 12. understand "bolt" as bolts. instead of searching the quiver: say "inside the quiver you count [amount of the bolts] bolts.". instead of taking the bolts when the bolts is in the player: say "Only one bolt at a time can be taken.". instead of taking the bolts when the bolts is not in the player: now the bolts is in the player; decrease the amount of the bolts by 1; say "You remove a bolt from the quiver and have [amount of the bolts] left.". instead of counting the bolts when the bolts is in the crossbow: say "You have [amount of bolts] bolts left.". instead of counting the bolts when the bolts is not in the crossbow: say "You have [amount of bolts] bolts left.". the player is carrying a matchbox. the matchbox is a closed openable container. the description of the matchbox is "[if closed] A colorful matchbox with the picture of a lit match on it. [otherwise] Inside you see [total of matchsticks] matches.[end if]". understand "box" as matchbox. in the matchbox is a thing called the matchsticks. the description of the matchsticks is "A colorful match that will last 12 turns.". the matchsticks has a number called total. the indefinite article of the matchsticks is "several". the total of the matchsticks is 12. understand "match" or "matches" as matchsticks. report opening the matchbox: say "You open the matchbox reavealing a number of matches."; stop the action. instead of searching the matchbox: say "in the matchbox is [total of matchsticks] matches.". instead of counting the matchsticks: say "You have [total of matchsticks] matches left.". instead of taking the matchsticks when the matchsticks is in the player: say "Only one match at a time can be taken.". instead of taking the matchsticks when the matchsticks is not in the player: now the matchsticks is in the player; decrease the total of the matchsticks by 1; say "You remove a match from the box and have [total of matchsticks] matches left.". instead of burning the matchsticks when the matchsticks is lit, say "the match is already lit.". instead of burning the matchsticks when the matchsticks is not lit: now the matchsticks is lit; say "You strike a match.". striking is an action applying to one thing. understand "strike [something]" as striking. instead of striking the matchsticks, try burning the matchsticks. instead of striking a thing that is not the matchsticks, say "You can't strike that!.". dousing is an action applying to one thing. understand "douse[something]" or "extinguish[something]" as dousing. instead of dousing the matchsticks when the matchsticks is not lit, say "The match ain't lit!". instead of dousing the matchsticks when the matchsticks is lit: now the matchsticks is not lit; say "You douse the match.".